﻿Imports Entities
Imports DataAccess
Public Class ParametrosBL
    Public Shared Function GetParametros() As PARAMETROS
        Return ParametrosDAL.GetParametros
    End Function
    Public Shared Function Save(ByVal zObject As PARAMETROS) As PARAMETROS
        Dim obj = GetParametros()
        If IsNothing(obj) Then
            Return ParametrosDAL.Create(zObject)
        Else
            Return ParametrosDAL.Update(zObject)
        End If
    End Function
End Class
